<template lang="html">
  <div class="">
    <button type="button" name="button" v-on:click="this.clik">xx</button>
    <span v-html="'x'+this.a">t</span>
    <input type="text" v-model="this.a" name="" value="" v-on:change="this.chg">
    <div class="" v-html="'this'+this.a +1">

    </div>

  </div>

</template>

<script>
import qs from '../utils/qs.js';
console.log(qs(window.location.search));
export default {
  data(){
    return {
      a:1
    }
  },
  methods:{
    clik(e){
      ++this.a;
      console.log(this.a);

    },
    chg(e){
      this.a = e.target.value;
    }

  }

}
</script>

<style lang="css">
</style>
